package com.ym.b2b.brand.service;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.brand.sqlbean.EmBBrand;
import com.ym.b2b.commons.exception.BaseException;
import com.zc.commons.base.Page;
import com.zc.commons.base.Result;

public interface EmBBrandService {

    public Result searchPageEmBBrand(Page<EmBBrand> page, EmBBrand emBBrand) throws DataAccessException;

    public Result showEmBBrandDetail(EmBBrand emBBrand) throws DataAccessException;


    public Result insertEmBBrand(EmBBrand emBBrand) throws DataAccessException;

    public Result updateEmBBrand(EmBBrand emBBrand) throws DataAccessException;

    Result deleteEmBBrand(EmBBrand emBBrand) throws DataAccessException;

    public Result editMultipleEmBBrandsStatus(String brandIdList) throws DataAccessException;

    public Result deleteMultipleEmBBrands(String brandIdList) throws DataAccessException;

    List<EmBBrand> searchEmBBrand(EmBBrand emBBrand) throws BaseException;

}
